home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextLibrary / Documentation / Sybase / DBLIB / Section2 / dbmorecmds.nr < prev    next >
Encoding:
Text File  |  1993-04-22  |  1.0 KB  |  45 lines

  1. .Na "DBMORECMDS" 
  2. .Aa
  3. .Fu
  4. Indicate whether there are more commands to be processed.
  5. .Ih "results, determining whether there are more"
  6. .Ih "commands, determining whether there are more"
  7. .Sy
  8. .Sf "RETCODE DBMORECMDS(dbproc)"
  9. .Sp "DBPROCESS" "*dbproc"
  10. .Co
  11. .Bl
  12. The application can use this
  13. macro to determine whether there are more results to
  14. process.
  15. .Bl
  16. \f2DBMORECMDS()\f1 can be called after
  17. .I "dbnextrow()"
  18. returns NO_MORE_ROWS.
  19. If you know that the current command is returning no rows,
  20. you can call
  21. .I "DBMORECMDS()"
  22. immediately after
  23. .I "dbresults()."
  24. .Bl
  25. Applications rarely need this routine,
  26. because they can simply call
  27. .I "dbresults()"
  28. until it returns NO_MORE_RESULTS.
  29. .Bz
  30. .Pa
  31. .Pi dbproc
  32. A pointer to the DBPROCESS structure that provides the connection
  33. for a particular front-end/\*S process.  It contains all the
  34. information that \*L uses to manage communications and data between the
  35. front end and \*S.
  36. .in -.375i
  37. .Re
  38. .br
  39. SUCCEED or FAIL, indicating whether there are more results from the command batch.
  40. .Sa
  41. DBCMDROW,
  42. dbresults,
  43. DBROWS,
  44. DBROWTYPE
  45.